package com.iye.puretennis.domain;

/**
 * Created with IntelliJ IDEA.
 * User: jing wu
 * Date: 2014/12/26
 * Time: 12:48
 */
public class UserDetail extends UserInfo {

    private int accumulatedPoints;

    private String playYear;

    private int year;

    private int month;

    private boolean canQianDao;

    private int qianDaoDays;

    public UserDetail(String guid, String nickname, String imageBase64Byte, int accumulatedPoints, String playYear, int year, int month, boolean canQianDao, int qianDaoDays, boolean uploadImage) {
        super(guid, nickname, imageBase64Byte, uploadImage);
        this.accumulatedPoints = accumulatedPoints;
        this.playYear = playYear;
        this.canQianDao = canQianDao;
        this.year = year;
        this.month = month;
        this.qianDaoDays = qianDaoDays;
    }

    public int getAccumulatedPoints() {
        return accumulatedPoints;
    }

    public String getPlayYear() {
        return playYear;
    }

    public boolean isCanQianDao() {
        return canQianDao;
    }

    public int getYear() {
        return year;
    }

    public int getMonth() {
        return month;
    }

    public int getQianDaoDays() {
        return qianDaoDays;
    }

    @Override
    public String getNickname(String currentGuid) {

        return nickname;
    }


}
